package com.example.iot.dao;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.iot.entity.EntityRelation;
import com.example.iot.entity.id.RuleNodeId;
import com.example.iot.entity.po.RelationPO;

import java.util.List;

/**
 * @author ChenXiangpeng
 */
public interface RuleRelationDao extends IService<RelationPO> {
    List<RelationPO> getRuleNodeRelations(RuleNodeId ruleNodeId);

    void deleteRelations(RuleNodeId ruleNodeId);
}
